using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN DiemDanhSinhVienEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: DiemDanhSinhVienEntity</para>
	/// <para>Description: ClassDiemDanhSinhVienEntity store data of table DiemDanhSinhVien</para>
	///</summary>

	[DataContract]
	public partial class DiemDanhSinhVienEntity{


		private bool _InternalChangedIsNullDiemDanhSinhVien_ID=true;
		private bool _IsNullDiemDanhSinhVien_ID=true;
		private bool _InternalChangedIsNullNgayDiemDanh=true;
		private bool _IsNullNgayDiemDanh=true;
		private bool _InternalChangedIsNullUser_ID=true;
		private bool _IsNullUser_ID=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullMonHoc_ID=true;
		private bool _IsNullMonHoc_ID=true;
		private bool _InternalChangedIsNullLop_ID=true;
		private bool _IsNullLop_ID=true;
		private int _DiemDanhSinhVien_ID;
		private DateTime _NgayDiemDanh;
		private int _User_ID;
		private int _NamHoc_ID;
		private int _HocKy_ID;
		private int _MonHoc_ID;
		private int _Lop_ID;
		[DataMember]
		public bool IsNullDiemDanhSinhVien_ID{
			get{return _IsNullDiemDanhSinhVien_ID;}
			set{if(!_InternalChangedIsNullDiemDanhSinhVien_ID)_IsNullDiemDanhSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullNgayDiemDanh{
			get{return _IsNullNgayDiemDanh;}
			set{if(!_InternalChangedIsNullNgayDiemDanh)_IsNullNgayDiemDanh=value;}
		}
		[DataMember]
		public bool IsNullUser_ID{
			get{return _IsNullUser_ID;}
			set{if(!_InternalChangedIsNullUser_ID)_IsNullUser_ID=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullMonHoc_ID{
			get{return _IsNullMonHoc_ID;}
			set{if(!_InternalChangedIsNullMonHoc_ID)_IsNullMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullLop_ID{
			get{return _IsNullLop_ID;}
			set{if(!_InternalChangedIsNullLop_ID)_IsNullLop_ID=value;}
		}
		[DataMember]
		public int DiemDanhSinhVien_ID{
			get{return _DiemDanhSinhVien_ID;}
			set{
				_DiemDanhSinhVien_ID=value;
				if(_DiemDanhSinhVien_ID!=null){
					_IsNullDiemDanhSinhVien_ID=false;
					_InternalChangedIsNullDiemDanhSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayDiemDanh{
			get{return _NgayDiemDanh;}
			set{
				_NgayDiemDanh=value;
				if(_NgayDiemDanh!=null){
					_IsNullNgayDiemDanh=false;
					_InternalChangedIsNullNgayDiemDanh=true;
				}
			}
		}
		[DataMember]
		public int User_ID{
			get{return _User_ID;}
			set{
				_User_ID=value;
				if(_User_ID!=null){
					_IsNullUser_ID=false;
					_InternalChangedIsNullUser_ID=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public int MonHoc_ID{
			get{return _MonHoc_ID;}
			set{
				_MonHoc_ID=value;
				if(_MonHoc_ID!=null){
					_IsNullMonHoc_ID=false;
					_InternalChangedIsNullMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int Lop_ID{
			get{return _Lop_ID;}
			set{
				_Lop_ID=value;
				if(_Lop_ID!=null){
					_IsNullLop_ID=false;
					_InternalChangedIsNullLop_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END DiemDanhSinhVienEntityBase*****************************************/
	/*****************************************************************************************************/
}

